import request from '@/router/axios';


export const getList = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/material-warehouse-storage/line-side/page',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};


export const getDetail = (id) => {
    return request({
        url: '/api/mes-abacus/material-warehouse-storage/line-side/detail',
        method: 'get',
        params: {
            areaId: id
        }
    });
};
export const getListTo = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/material-warehouse-storage/raw-material/page',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};


export const getDetailTO = (params) => {
    return request({
        url: '/api/mes-abacus/material-warehouse-storage/raw-material/detail',
        method: 'get',
        params: {
            ...params,
        }
    });
};

